<?php

require_once ('Etudiant.class.php');

class EtudiantTest extends PHPUnit_Framework_TestCase {
    
    protected $object;
    
    protected function setUp() {
        $this->object = new Etudiant('Nicolas', 'Sarrazin', 10, 10, 10, 10, 10, 10, 10);
    }
    
    protected function tearDown() {
     
    }
    
    public function testMoyenne() {
        $this->assertEquals(10, $this->object->moyenne());
    }
    
    public function testMention() {
        $this->assertEquals("Preuves", $this->object->mention());
    }
    
}

?>